﻿@using System.Net.Http
@using System.Net.Http.Json

@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage
@using Microsoft.AspNetCore.Components.Web
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop


@using BlazorAppDemo
@using BlazorAppDemo.Common
@using BlazorAppDemo.Components

@* 全局引用 *@
@using MudBlazor
@using MudBlazor.Services

@* 全局注入 *@
@inject IJSRuntime JS
@inject NavigationManager Navigation
@inject BrowserHelper BrowserHelper
@inject ProtectedLocalStorage LocalStorage

@* Mudblazor相关服务 *@
@inject IBrowserViewportService BrowserService
@inject IDialogService Dialog
@inject ISnackbar Messager
@inject MudBreakpointProvider BreakpointProvider

@* 所有页面需要验证,对于不需验证的页面，请在页面上声明 *@
@* @attribute [Authorize] *@